//
//  SimCardHeader.h
//  MobileChecker
//
//  Created by ehanxuan on 2015/01/20.
//  Copyright (c) 2015年 Lymons. All rights reserved.
//

#ifndef MobileChecker_SimCardHeader_h
#define MobileChecker_SimCardHeader_h

extern NSString * const kCTSMSMessageReceivedNotification;
extern NSString * const kCTSMSMessageReplaceReceivedNotification;
extern NSString * const kCTSIMSupportSIMStatusNotInserted;
extern NSString * const kCTSIMSupportSIMStatusReady;

id CTTelephonyCenterGetDefault(void);
void CTTelephonyCenterAddObserver(id,id,CFNotificationCallback,NSString*,void*,int);
void CTTelephonyCenterRemoveObserver(id,id,NSString*,void*);
int CTSMSMessageGetUnreadCount(void);

int CTSMSMessageGetRecordIdentifier(void * msg);
NSString * CTSIMSupportGetSIMStatus();
NSString * CTSIMSupportCopyMobileSubscriberIdentity();

id  CTSMSMessageCreate(void* unknow,NSString* number,NSString* text);
void * CTSMSMessageCreateReply(void* unknow,void * forwardTo,NSString* text);

void* CTSMSMessageSend(id server,id msg);

NSString *CTSMSMessageCopyAddress(void *, void *);
NSString *CTSMSMessageCopyText(void *, void *);

#endif
